package com.suixin.learn.persistence.io;

import java.io.InputStream;

public class Resources {

    public static final String SQL_MAP_CONFIG_LOCATION = "sqlMapConfig.xml";

    public static InputStream getResource(String path){
        if(path != null){
            return Resources.class.getClassLoader().getResourceAsStream(path);
        }
        return null;
    }

    public static void main(String[] args) {
        System.out.println(111);
    }

}
